You can update an existing VRF for a tenant.
You can update a VRF before or after you create an EPG. But, the VRF will reflect on the switches only after you create an EPG.
efa tenant vrf update [--name vrf-name | --tenant tenant-name | -- operation code |--local-asn local-asn | --ipv4-static-route-bfd route | --ipv6-static-route-bfd route | --ipv4-static-route-next-hop route | --ipv6-static-route-next-hop route | --max-path unit |-- redistribute {static | connected} | --rh-max-path {8 | 16 | 64 | 128 } --max-path {1-128} | -- rh-ecmp-enable= {true | false} | --graceful-restart-enable= {true | false } | --routing-type {distributed | centralized }
Note
For more information on syntax and command examples, see the ExtremeCloud Orchestrator Command Reference, 3.6.0 .(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation local-asn-add --local-asn 75001 WARNING : This operation will result in the reset of the backup routing bgp neighbours of the VRF. Do you want to proceed [y/n]? y Vrf updated successfully. --- Time Elapsed: 7.09160915s ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation static-route-add --ipv4-static-route-next-hop 10.20.246.6,182.20.0.0/24,11.11.11.1,5 --ipv6-static-route-next-hop 10.20.246.5,1010:30::1/128,1001::3,5 Vrf updated successfully. --- Time Elapsed: 244.090637ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation max-path-add --max-path 60 Vrf updated successfully. --- Time Elapsed: 188.793294ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation redistribute-add --redistribute connected Vrf updated successfully. --- Time Elapsed: 225.778861ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation rh-max-path-add --rh-max-path 64 Vrf updated successfully. --- Time Elapsed: 99.141472ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation rh-ecmp-update --rh-ecmp-enable=false Vrf updated successfully. --- Time Elapsed: 173.438931ms ---
(efa:root)root@node-2:~# efa tenant vrf show --name blue11 --tenant tenant11 --detail ====================================================================================================================================== Name : blue11 Tenant : tenant11 Routing Type : distributed Centralized Routers : Redistribute : connected,static Max Path : 60 Local Asn : 75001 L3VNI : EVPN IRB BD : EVPN IRB VE : BR VNI : BR BD : BR VE : RH Max Path : 64 Enable RH ECMP : false Enable Graceful Restart : false Route Target : import 100:100 : export 100:100 : import 200:200 : export 200:200 : import 300:300 : export 400:400 Static Route : Switch-IP->Network,Nexthop-IP[Route-Distance], ... : 10.20.246.6->192.168.0.0/24,10.10.10.1[5] 2020:20::1/128,3001::2[6] 182.20.0.0/24,11.11.11.1[5] : 10.20.246.5->192.168.10.0/24,10.10.10.5[5] 2020:30::1/128,3001::3[5] 1010:30::1/128,1001::3[5] Static Route BFD : Switch-IP->[DestIP,SourceIP][Interval,Min-Rx,Multiplier], ... : 10.20.246.5->10.10.10.1,10.10.10.254[200,300,6] : 10.20.246.6->10.10.10.5,10.10.10.252 3001::3,3001::1[100,200,5] 3001::2,3001::1 3001::4,3001::1[100,300,6] VRF Type : State : vrf-create Dev State : not-provisioned App State : cfg-ready ====================================================================================================================================== --- Time Elapsed: 59.390211ms ---
On Device1:
10.20.246.5SLX# show running-config vrf vrf blue11 rd 172.31.254.211:1 resilient-hash max-path 64 evpn irb ve 8192 address-family ipv4 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ip route static bfd 10.10.10.1 10.10.10.254 interval 200 min-rx 300 multiplier 6 ip route 192.168.10.0/24 10.10.10.5 distance 5 ! address-family ipv6 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ipv6 route 1010:30::1/128 1001::3 distance 5 ipv6 route 2020:30::1/128 3001::3 distance 5 ! ! |
On Device2:
10.20.246.6SLX# show running-config vrf vrf blue11 rd 172.31.254.152:1 resilient-hash max-path 64 evpn irb ve 8192 address-family ipv4 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ip route static bfd 10.10.10.5 10.10.10.252 ip route 182.20.0.0/24 11.11.11.1 distance 5 ip route 192.168.0.0/24 10.10.10.1 distance 5 ! address-family ipv6 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ipv6 route static bfd 3001::2 3001::1 ipv6 route static bfd 3001::3 3001::1 interval 100 min-rx 200 multiplier 5 ipv6 route static bfd 3001::4 3001::1 interval 100 min-rx 300 multiplier 6 ipv6 route 2020:20::1/128 3001::2 distance 6 |
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation local-asn-delete WARNING : This operation will result in the reset of the backup routing bgp neighbours of the VRF. Do you want to proceed [y/n]? y Vrf updated successfully. --- Time Elapsed: 1.162426042s ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation static-route-delete --ipv4-static-route-next-hop 10.20.246.6,182.20.0.0/24,11.11.11.1,5 --ipv6-static-route-next-hop 10.20.246.5,1010:30::1/128,1001::3,5 Vrf updated successfully. --- Time Elapsed: 162.621663ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation static-route-bfd-delete --ipv6-static-route-bfd 10.20.246.6,3001::3,3001::1,100,200,5 --ipv4-static-route-bfd 10.20.246.5,10.10.10.1,10.10.10.254,200,300,6 Vrf updated successfully. --- Time Elapsed: 168.307373ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation max-path-delete Vrf updated successfully. --- Time Elapsed: 117.514104ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation redistribute-delete --redistribute connected Vrf updated successfully. --- Time Elapsed: 202.742522ms ---
(efa:root)root@node-2:~# efa tenant vrf update --tenant tenant11 --name blue11 --operation rh-max-path-delete Vrf updated successfully. --- Time Elapsed: 138.245305ms ---
(efa:root)root@node-2:~# efa tenant vrf show --name blue11 --tenant tenant11 --detaill ========================================================================================================== Name : blue11 Tenant : tenant11 Routing Type : distributed Centralized Routers : Redistribute : static Max Path : 0 Local Asn : L3VNI : EVPN IRB BD : EVPN IRB VE : BR VNI : BR BD : BR VE : RH Max Path : Enable RH ECMP : false Enable Graceful Restart : false Route Target : import 100:100 : export 100:100 : import 200:200 : export 200:200 : import 300:300 : export 400:400 Static Route : Switch-IP->Network,Nexthop-IP[Route-Distance], ... : 10.20.246.6->192.168.0.0/24,10.10.10.1[5] 2020:20::1/128,3001::2[6] : 10.20.246.5->192.168.10.0/24,10.10.10.5[5] 2020:30::1/128,3001::3[5] Static Route BFD : Switch-IP->[DestIP,SourceIP][Interval,Min-Rx,Multiplier], ... : 10.20.246.6->10.10.10.5,10.10.10.252 3001::2,3001::1 3001::4,3001::1[100,300,6] VRF Type : State : vrf-create Dev State : not-provisioned App State : cfg-ready ========================================================================================================== --- Time Elapsed: 75.948924ms ---
On Device1:
10.20.246.5SLX# show running-config vrf vrf blue11 rd 172.31.254.211:1 evpn irb ve 8192 address-family ipv4 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ip route 192.168.10.0/24 10.10.10.5 distance 5 ! address-family ipv6 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ipv6 route 2020:30::1/128 3001::3 distance 5 ! ! |
On Device2:
10.20.246.6SLX# show running-config vrf vrf blue11 rd 172.31.254.152:1 evpn irb ve 8192 address-family ipv4 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ip route static bfd 10.10.10.5 10.10.10.252 ip route 192.168.0.0/24 10.10.10.1 distance 5 ! address-family ipv6 unicast route-target export 100:100 evpn route-target export 200:200 evpn route-target export 400:400 evpn route-target import 100:100 evpn route-target import 200:200 evpn route-target import 300:300 evpn ipv6 route static bfd 3001::2 3001::1 ipv6 route static bfd 3001::4 3001::1 interval 100 min-rx 300 multiplier 6 ipv6 route 2020:20::1/128 3001::2 distance 6 ! ! |